package edu.gatech.volt2.drdoommgt.domain;

/**
 * This class represents Billing Information.
 *
 * @author Paul Dewey
 */
public class BillingInfo
{
	private TreatmentRecord tr;

	/**
	 * A constructor that takes in a treatment record object.
	 *
	 * @param tr The treatment record to be associated with the billing info.
	 */
	public BillingInfo(TreatmentRecord tr)
	{
		this.tr = tr;
	}

	/**
	 * The default constructor that creates a blank treatment record.
	 */
	public BillingInfo()
	{
   		this(new TreatmentRecord());
	}

	/**
	 * Returns the treatment record.
	 *
	 * @return The treatment record.
	 */
	public TreatmentRecord getTr()
	{
		return tr;
	}

	/**
	 * Sets the treatment record.
	 *
	 * @param tr The new treatment record.
	 */
	public void setTr(TreatmentRecord tr)
	{
		this.tr = tr;
	}
}
